<?php
 if ($this->pageCount)
 {
 	$param = Zend_Controller_Front::getInstance()->getRequest()->getParams();
 	unset($param['module']);
 	unset($param['controller']);
 	unset($param['action']);
 ?>
 
 <div class="paginationControl">
 	<?php if (isset($this->previous)){?>
 		<a href="<?php echo $this->baseUrl().'/News/Index/List/Page/'.$this->previous;?>">Previous</a>|
 	<?php } else {?>
 		<span class = "disabled">Previous</span>|
 	<?php }?>
 	
 	<?php foreach ($this->pagesInRange as $page){?>
 	<?php if ($page != $this->current){?>
 		<a href="<?php echo $this->baseUrl().'/News/Index/List/Page/'.$page;?>"><?php echo $page;?></a>|
 	<?php } else {?>
 	<?php echo $page;?>|
 	<?php }}?>
 	
 	<?php if (isset($this->next)){?>
 		<a href="<?php echo $this->baseUrl().'/News/Index/List/Page/'.$this->next;?>">Next</a>|
 	<?php } else {?>
 		<span class = "disabled">Next</span>|
 	<?php }?>
 	
 </div>
 <?php }?>